<div class="workbench-wrapper<?php echo (Mage::getModel('core/cookie')->get('controls')) ? ' bottom' : ' top' ?>">
	<div id="workbench" class="<?php echo (Mage::getModel('core/cookie')->get('controls')) ? 'disabled' : '' ?>">
		<table class="data">
			<colgroup>
			<col width="140">
			<col width="305">
			<col width="253">
			<col width="173">
			</colgroup>
			<thead>
				<tr>
					<th>
						<span>Errors</span>
						<a id="logging" class="<?php echo ($this->helper('workbench')->getLogsEnabled() == true) ? 'enabled' : 'disabled' ?>" href="<?php echo $this->getUrl('synthesis/main/toggleLogging'); ?>" title="<?php echo $this->__('Enable/ Disable logging'); ?>"></a>
					</th>
					<th>
						Cache
					</th>
					<th>
						Indexes
					</th>
					<th>
						<span>Design</span>
						<a id="translation" class="<?php echo ($this->helper('workbench')->getTranslationEnabled() == true) ? 'enabled' : 'disabled' ?>" href="<?php echo $this->getUrl('synthesis/main/toggleTranslation'); ?>"></a>
						<a id="hints" class="<?php echo ($this->helper('workbench')->getHintsEnabled() == true) ? 'enabled' : 'disabled' ?>" href="<?php echo $this->getUrl('synthesis/main/toggleHints'); ?>"></a>
					</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>
						<div id="errors" class="processing">
							<div class="notice"><?php echo $this->__('Loading...'); ?></div>
							<div class="response"></div>
						</div>
					</td>
					<td class="cache"><?php echo $this->getChildHtml('workbench.cache'); ?></td>
					<td class="indexes"><?php echo $this->getChildHtml('workbench.indexes'); ?></td>
					<td class="design"><?php echo $this->getChildHtml('workbench.design'); ?></td>
				</tr>
			</tbody>
		</table>
		<div class="bottom-menu">
			<div id="exec-time" class="left" title="<?php echo $this->__('Page execution time in seconds. Click to reload'); ?>">-.-- s</div>
			<div id="php-info" class="left" title="<?php echo $this->__('Click to show PHP info'); ?>"></div>
			
			<div class="extended-options left">
				<div class="left static" id="magento-cache-storage" title="<?php echo $this->__('Flush Magento Cache'); ?>"></div>
				<div class="left static" id="cache-storage" title="<?php echo $this->__('Flush Cache Storage'); ?>"></div>
				<div class="left static" id="catalog-images-cache" title="<?php echo $this->__('Flush pregenerated product images files'); ?>"></div>
				<div class="left static" id="js-css-cache" title="<?php echo $this->__('Flush Themes, JavaScript and CSS files combined to one file'); ?>"></div>
				<?php if($this->varDirExists()): ?>
					<div class="left static" id="cache-folder" title="<?php echo $this->__('Clear var/cache folder'); ?>"></div>
				<?php endif; ?>
			</div>
		</div>
	</div>
</div>